package com.onepower.core.modules.repository.mapper;

import com.onepower.core.modules.repository.entity.MatchScore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 比赛分数表 Mapper 接口
 * </p>
 *
 * @author kin
 * @since 2018-08-12
 */
public interface MatchScoreMapper extends BaseMapper<MatchScore> {

    MatchScore selectScoreByMatchScheduleId(@Param("id") int id, @Param("matchId") int matchId);

    List<MatchScore> selectScoreList(@Param("matchScheduleId") int matchScheduleId);
}